home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2175 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: news.infi.net!usenet
  2. From: nngis@norfolk.infi.net (Greg DiGiorgio)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Borland Turbo C
  5. Date: 19 Jan 1996 13:17:16 GMT
  6. Organization: Customer of InfiNet
  7. Distribution: world
  8. Message-ID: <4do5ks$hhr@news.infi.net>
  9. References: <4dlo30$juu@lugb.latrobe.edu.au>
  10. Reply-To: nngis@norfolk.infi.net
  11. NNTP-Posting-Host: h-wastelands.norfolk.infi.net
  12. Mime-Version: 1.0
  13. X-Newsreader: WinVN 0.99.3
  14.  
  15. In article <4dlo30$juu@lugb.latrobe.edu.au>, cs102238@lux.latrobe.edu.au 
  16. says...
  17. >
  18. >Is there such a thing as a version of Borland Turbo C which is bug free 
  19. or
  20. >is Borland just friggin useless? I am getting compile time errors in the
  21. >supplied header files. Any one else come across this problem?
  22.  
  23. I have used Turbo-C for DOS since V2.0 in 1988. That includes Turbo C/C++ 
  24. V1.0, V2.0, Second Edition, and V3.0. And I only came across one 
  25. limitation, possible bug. In 2nd Edition, the compiler limited you to 21 
  26. nested "else if" stmts. That limitation was introduced in 2nd Edition and 
  27. removed in V3.0. I still use these compilers today - mainly for writing 
  28. ANSI std 'C' for use in UNIX. The DOS compiler has a debugger and is much 
  29. nicer to use than our command compiler in UNIX. I then copy all my code 
  30. to the UNIX box, compile, and run.
  31.  
  32. My point is that it is very difficult (not impossible, though) to find 
  33. bugs in a commercial-grade compiler. I have used Turbo C/C++ for Windows 
  34. as well and have never had the problem you describe. 
  35.  
  36. From your description, it appears that you may have mixed versions of 
  37. Turbo-C installed. Is it possible that (1) you have installed more than 
  38. one version into the same dir? (2) installed more than 1 vers into dif 
  39. dirs and the <options> <directories> entries in the IDE are incorrect 
  40. (point to dirs other than you expect)?
  41.  
  42. If not, I'd be interested in seeing the compile-time errors to which you 
  43. refer. With older versions of TC, it is possible to gen compile errors 
  44. that indicate one problem, but is actually caused by something totally 
  45. unrelated. This can be done with misplaced "{}", missing ";", and other 
  46. stuff.
  47.  
  48. Hope this helps,
  49. Greg DiGiorgio
  50.  
  51.